package org.jeese.modules.sys.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysRoleMenuDao {

	int batchRemoveByMenuIds(@Param("menuIds") Long[] menuIds);

	int batchRemoveByRoleIds(@Param("roleIds") Long[] roleIds);

	int deleteByRoleId(@Param("roleId") Long roleId);

	int deleteByMenuId(@Param("menuId") Long menuId);

	int batchAddRoleMenu(@Param("roleId") Long roleId, @Param("menuIds") Long[] menuIds);

}
